{#if $user}
Add a tip?
{tipAmountFormatted}
{`(${tipAmountSats} SATS)`}
{tipPercent}%
{ customTipAmount = ''; tipPercent = e.target.value; }} />
{#each tipAmounts as amount}
handleTipButtonClick(amount)}>{amount}
{/each}
$
handleCustomTipAmount(e)} class="bg-primary rounded-2xl py-3 px-10 font-semibold mt-2 mr-1 w-full md:w-auto" placeholder="Other" />
Done
(showMobileTip = true)} disabled={showMobileTip} >
Add a tip
Scan to pay
{$user.username}
Invoice
{invoiceAmountFiatFormatted}
{`(${amountFormatted} SATS)`}
Tip
{tipAmountFormatted}
{`(${tipAmountSats} SATS)`}
Total
{totalAmountFormatted}
{`(${totalAmountSats} SATS)`}
{/if}